
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.TaskPig;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage TaskPig entities.
 * 
 */
public interface TaskPigDAO extends JpaDao<TaskPig> {

	/**
	 * JPQL Query - findAllTaskPigs
	 *
	 */
	public Set<TaskPig> findAllTaskPigs() throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskPigs
	 *
	 */
	public Set<TaskPig> findAllTaskPigs(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigByMemo
	 *
	 */
	public Set<TaskPig> findTaskPigByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigByMemo
	 *
	 */
	public Set<TaskPig> findTaskPigByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigById
	 *
	 */
	public TaskPig findTaskPigById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigById
	 *
	 */
	public TaskPig findTaskPigById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigByMemoContaining
	 *
	 */
	public Set<TaskPig> findTaskPigByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigByMemoContaining
	 *
	 */
	public Set<TaskPig> findTaskPigByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigByPrimaryKey
	 *
	 */
	public TaskPig findTaskPigByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigByPrimaryKey
	 *
	 */
	public TaskPig findTaskPigByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

}